package com.chushouya.manager.service.common;

import com.chushouya.manager.dao.entity.RegionEntity;
import com.chushouya.manager.dto.admin.region.RegionTreeDTO;

import java.util.List;

public interface RegionService {

    /**
     * 获取省市区树
     */
    List<RegionTreeDTO> regionTree();

    /**
     * 根据code获取省市区
     */
    RegionEntity getRegionByCode(Long code);
}
